package com.rs.model;

import java.io.Serializable;

/**
 * 
 * 描述：通知
 * 
 * @author：fjc
 * @date 2020年7月8日
 * @version:1.0
 */
public class Notice implements Serializable {
	private Integer no_id;//通知id

	private String no_name;//通知名称

	private String no_reason;//通知内容

	private String no_time;//建立时间

	private Integer pageNum;//当前页

	private static final long serialVersionUID = 1L;

	//转为数组
	public Object[] toObjects(int leng) {
		Object[] ary = new Object[leng];

		ary[0] = no_id;

		ary[1] = no_name;

		ary[2] = no_reason;

		ary[3] = no_time;

		ary[4] = "查看";

		ary[5] = "修改";

		ary[6] = "删除";

		return ary;
	}

	public Integer getNo_id() {
		return no_id;
	}

	public void setNo_id(Integer no_id) {
		this.no_id = no_id;
	}

	public String getNo_name() {
		return no_name;
	}

	public void setNo_name(String no_name) {
		this.no_name = no_name;
	}

	public String getNo_reason() {
		return no_reason;
	}

	public void setNo_reason(String no_reason) {
		this.no_reason = no_reason;
	}

	public String getNo_time() {
		return no_time;
	}

	public void setNo_time(String no_time) {
		this.no_time = no_time;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	@Override
	public String toString() {
		return "Notice [no_id=" + no_id + ", no_name=" + no_name + ", no_reason=" + no_reason + ", no_time=" + no_time
				+ ", pageNum=" + pageNum + "]";
	}

}